﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>演出详情</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"/>
    <!--公有引用-->
    <link rel="stylesheet" th:href="@{/css/weui.css}" />
    <link rel="stylesheet" th:href="@{/css/weui2.css}" />
    <link rel="stylesheet" th:href="@{/css/weui3.css}" />
	<script th:src="@{/js/zepto.min.js}"></script>
    
</head>
<body>
    <!--详情-->
    <div class="weui_media_box weui_media_appmsg detail_title_box">
        <div class="weui_media_hd">
            <img class="weui_media_appmsg_thumb" th:src="${play.url}" />
        </div>
        <div class="weui_media_bd">
            <h4 class="weui_media_title f24" th:text="${play.name}"></h4>           
            <p class="weui_btn weui_btn_mini bg-white-b"  th:text="${play.statusDesc}"></p>
            <h5 class="weui_media_bottom f18"  th:text="${'¥'+play.minPrice+' - ¥'+play.maxPrice}"></h5>
        </div>
    </div>
    
    <div class="weui_cells weui_cells_access nonemargin">
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary">
                <p><i class="icon icon-51"></i><span th:text="${play.playDate2}"></span></p>
            </div>
        </div>
        <div class="weui_cell">
            <div class="weui_cell_bd weui_cell_primary">
                <p><i class="icon icon-46"></i> 湖南红太阳演艺</p>
            </div>
        </div>
        <div class="weui_cell ">
            <div class="weui_cell_bd weui_cell_primary">
                <p><i class="icon icon-69"></i> 长沙市天心区劳动西路347号田汉大剧院</p>
            </div>
            <div class="weui_cell_ft"></div>
        </div>
    </div> 
    
    <div class="weui_cells weui_article">
        <section>
            <h3>演出介绍</h3>
            <p th:utext="${play.content}">
            </p>
            <h3>购票须知</h3>
            <p>
                1、预订演出票座位保留至开映前15分钟，观众逾时未到剧场取票，售票系统将自动取消预定座位，预订演出票作废。
                2、现场预售演出票，只售可售期内演出票，在规定的时间内，已出票演出票不退换，当天购买非当日概不退换。
                3、已购演出票当天21:00后，未取票概不退换。
            </p>
        </section>
    </div>
    <a href="#" th:attr="data-id=${play.id},data-code=${play.status}" class="weui_btn weui_btn_warn noradius">立即购票</a>
    <!--页面私有引用-->
    <script type="text/javascript">
        $('.noradius').on('click',function(){
            var me = $(this);
            if(me.data("code") != 204002){
                $.alert("还未开始售票", "提示信息");
            }else{
                location.href='/h5/seat/'+me.data("id")+'/1';
            }
        });
    </script>
</body>
</html>
